package ngames.com.sushitv.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/1/7.
 */
public class UserInfo implements Serializable {
    private static final long serialVersionUID = 1L;
    @SerializedName("user_id")
    private String uid;
    private String token;
    @SerializedName("refresh_token")
    private String refreshToken;
    private long expired;
    private String avatar;
    private String username;
    private String email;
    private String status;                  //普通注册1.注册,2.激活;fb注册就是一步,1.注册并激活


    private String accountType;             //账户类型
    private ResetPasswordInfo resetPasswordInfo;        //手机重置密码向服务器发送的信息

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public long getExpired() {
        return expired;
    }

    public void setExpired(long expired) {
        this.expired = expired;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public ResetPasswordInfo getResetPasswordInfo() {
        return resetPasswordInfo;
    }

    public void setResetPasswordInfo(ResetPasswordInfo resetPasswordInfo) {
        this.resetPasswordInfo = resetPasswordInfo;
    }
}
